package gnss_plugs

import (
	"dgo/goutils/gnss"
	"time"
)

/***
 * 实时星历处理类
 *  推荐使用
 */
type GnssRinexEph3xWriterRt struct {
	GnssRinexEph3xWriterBase
}

func NewGnssRinexEph3xWriterRt() *GnssRinexEph3xWriterRt {
	rval := &GnssRinexEph3xWriterRt{}
	rval.onCreate()
	rval.OnGetEphTimeFunc = func(rec *gnss.RtcmEph) time.Time {
		return time.Now().UTC()
	}
	return rval
}
